
from selenium import webdriver

url = 'http://www.weather.com.cn/weather/101020100.shtml'

driver = webdriver.Firefox()
driver.get(url)

seven_days = driver.find_element_by_id('7d')
print(seven_days)

seven_days = driver.find_element_by_xpath("//div[@id='7d']/ul")
print(seven_days.text)

print(type(seven_days.text))
